package com.johndoeo.admin.service;

import com.johndoeo.admin.entity.ArticleCategory;

/**
 * @auther johndoeo
 * @date 2018/10/22
 */
public interface ArticleCategoryService extends BaseService<ArticleCategory> {

    /**
     * 根据文章ID删除
     * @param id
     */
    void deleteByArticleId(long id);

    /**
     * 根据分类ID删除
     * @param id
     */
    void deleteByCategoryId(long id);
}
